Create new cost target planning data.
POST/cost_target_planning/
Allows creation of a new cost target planning entry. The request body should follow the CostTargetPlanning schema, with parameters to specify cost targets, planning data, and other relevant details.
Request
- application/json
Body
required
dimension_1 Dimension 1 (string)nullable
Possible values: <= 1024 characters
dimension_2 Dimension 2 (string)nullable
Possible values: <= 1024 characters
previous_month Previous month (number)nullable
avg_lookback Avg lookback (number)nullable
percent_growth Percent growth (number)nullable
percent_spend Percent spend (number)nullable
target_type Target type (string)
Possible values: [TOTAL
, PLANNING_ITEM
]
target_items Target items (string)nullable
cost_target Cost target (integer)nullable
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
id ID (integer)
created date-time
modified date-time
dimension_1 Dimension 1 (string)nullable
Possible values: <= 1024 characters
dimension_2 Dimension 2 (string)nullable
Possible values: <= 1024 characters
previous_month Previous month (number)nullable
avg_lookback Avg lookback (number)nullable
percent_growth Percent growth (number)nullable
percent_spend Percent spend (number)nullable
target_type Target type (string)
Possible values: [TOTAL
, PLANNING_ITEM
]
target_items Target items (string)nullable
client Client (integer)
cost_target Cost target (integer)nullable
{
"id": 0,
"created": "2024-07-29T15:51:28.071Z",
"modified": "2024-07-29T15:51:28.071Z",
"dimension_1": "string",
"dimension_2": "string",
"previous_month": 0,
"avg_lookback": 0,
"percent_growth": 0,
"percent_spend": 0,
"target_type": "TOTAL",
"target_items": "string",
"client": 0,
"cost_target": 0
}
Loading...